package cn.taichoo.server.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 手机打包业务-离线推送模块参数设置对象 tai_pack_push_setting
 *
 * @author Wuzh
 * @date 2025-03-17
 */
@Data
@TableName("tai_pack_push_setting" )
public class PackPushSetting extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * APP基础表Id
     */
    @Excel(name = "APP基础表Id" )
    @Schema(description="APP基础表Id")
    @TableField("app_base_id" )
    private Long appBaseId;

    /**
     * 手机系统类型;1:安卓;2:IOS;3:鸿蒙
     */
    @Excel(name = "手机系统类型;1:安卓;2:IOS;3:鸿蒙" )
    @TableField("mobile_type" )
    @Schema(description="手机系统类型;1:安卓;2:IOS;3:鸿蒙")
    private Integer mobileType;

    /**
     * 厂商类型;1:华为;2:小米;3:vivo;4:OPPO;5:荣耀;6:魅族;7:GoogleFCM;8:IOS的p8:9:IOS的p12;10:鸿蒙
     */
    @Excel(name = "厂商类型;1:华为;2:小米;3:vivo;4:OPPO;5:荣耀;6:魅族;7:GoogleFCM;8:IOS的p8:9:IOS的p12;10:鸿蒙" )
    @TableField("manufacturers_type" )
    @Schema(description="厂商类型;1:华为;2:小米;3:vivo;4:OPPO;5:荣耀;6:魅族;7:GoogleFCM;8:IOS的p8:9:IOS的p12;10:鸿蒙")
    private Integer manufacturersType;

    /**
     * 华为/荣耀/鸿蒙 Client ID
     */
    @Excel(name = "华为/荣耀/鸿蒙 Client ID" )
    @TableField("client_id" )
    @Schema(description="华为/荣耀/鸿蒙 Client ID")
    private String clientId;

    /**
     * 华为/荣耀 Client Secret
     */
    @Excel(name = "华为/荣耀 Client Secret" )
    @TableField("client_secret" )
    @Schema(description="华为/荣耀 Client Secret")
    private String clientSecret;

    /**
     * 华为手机Client ID（OAuth2.0）
     */
    @Excel(name = "华为手机Client ID", readConverterExp = "O=Auth2.0" )
    @TableField("oauth_client_id" )
    @Schema(description="华为手机Client ID")
    private String oauthClientId;

    /**
     * 华为手机Client Secret（OAuth2.0）
     */
    @Excel(name = "华为手机Client Secret", readConverterExp = "O=Auth2.0" )
    @TableField("oauth_client_secret" )
    @Schema(description="华为手机Client Secret")
    private String oauthClientSecret;

    /**
     * 华为/小米/vivo/oppo/荣耀/魅族 APP_ID
     */
    @Excel(name = "华为/小米/vivo/oppo/荣耀/魅族 APP_ID" )
    @TableField("app_id" )
    @Schema(description="华为/小米/vivo/oppo/荣耀/魅族 APP_ID")
    private String appId;

    /**
     * 小米/vivo/oppo/魅族 APP_KEY
     */
    @Excel(name = "小米/vivo/oppo/魅族 APP_KEY" )
    @TableField("app_key" )
    @Schema(description="小米/vivo/oppo/魅族 APP_KEY")
    private String appKey;

    /**
     * 小米/vivo/oppo/荣耀/魅族 APP Secret
     */
    @Excel(name = "小米/vivo/oppo/荣耀/魅族 APP Secret" )
    @TableField("app_secret" )
    @Schema(description="小米/vivo/oppo/荣耀/魅族 APP Secret")
    private String appSecret;

    /**
     * OPPO Secret
     */
    @Excel(name = "OPPO Secret" )
    @TableField("master_secret" )
    @Schema(description="OPPO Secret")
    private String masterSecret;

    /**
     * GoogleFCM旧版HTTP
     */
    @Excel(name = "GoogleFCM旧版HTTP" )
    @TableField("legacy_server_key" )
    @Schema(description="GoogleFCM旧版HTTP")
    private String legacyServerKey;

    /**
     * 苹果手机p8/p12，证书秘钥/密码
     */
    @Excel(name = "苹果手机p8/p12，证书秘钥/密码" )
    @TableField("key_id" )
    @Schema(description="苹果手机p8/p12，证书秘钥/密码")
    private String keyId;

    /**
     * 苹果手机p8，苹果开发者账号唯一ID
     */
    @Excel(name = "苹果手机p8，苹果开发者账号唯一ID" )
    @TableField("team_id" )
    @Schema(description="苹果手机p8，苹果开发者账号唯一ID")
    private String teamId;

    /**
     * JSON文件下载URL地址
     */
    @Excel(name = "JSON文件下载URL地址" )
    @TableField("url" )
    @Schema(description="JSON文件下载URL地址")
    private String url;

    /**
     * 是否删除
     */
    @Excel(name = "是否删除" )
    @TableField("deleted" )
    @Schema(description="是否删除")
    private Integer deleted;


}
